home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
c
/
cdwritev1.3reg.lha
/
extras
/
cd-rom-starter-kit-demo
/
StarterKit.lha
/
fadein.jb
< prev
next >
Wrap
Text File
|
1994-03-29
|
609b
|
39 lines
/* fade in - requires V2 player module */
/* (c) copyright 1993 by F.J. Reichert */
options results;
current volume resolution;
maximum = result - 1;
current volume right;
right = result;
current volume left;
left = result;
play;
if right > left then do
do i = left to right;
set volume i "-1";
current break;
if result ~= 0 then exit(5);
end;
level = right;
end;
else do;
do i = right to left;
set volume "-1" i;
current break;
if result ~= 0 then exit(5);
end;
level = left;
end;
do i = level to maximum;
set volume i i;
current break;
if result ~= 0 then exit(5);
end;
exit(0);